<?php
echo $this->adminToolBar('tour', 'index', '/admin/tour/add/', '/admin/tour/edit/', '/admin/tour/delete/', '');
?> 
<div class="mid-content" id="grid_tour">
    <table class="box-table-a" width="100%"> 
        <tr>
            <th scope="col" width="5%">#</th>
            <th scope="col" width="25%">Tour Title</th>
            <th scope="col" width="10%">No. of Days</th>
            <th scope="col" width="10%">No. of Nights</th>  
            <th scope="col" width="20%">Tour Includes(En)</th>  
            <th scope="col" width="20%">Tour Excludes(En)</th>  
            <th scope="col" width="5%">&nbsp;</th>  
            <th scope="col" width="5%">&nbsp;</th>  
            <th scope="col" width="5%">&nbsp;</th>  
        </tr>
		<?php foreach($this->tour_arr as $tour_entry) : ?>
        <tr>
            <td><?php echo $tour_entry['tour_id'];?></td>
            <td><?php echo $tour_entry['tour_title'] ;?></td>
            <td align="center"><?php echo $tour_entry['no_days'] ;?></td>
            <td align="center"><?php echo $tour_entry['no_nights'] ;?></td>
            <td valign="top"><?php echo $tour_entry['tour_includes_en'] ;?></td>
            <td valign="top"><?php echo $tour_entry['tour_excludes_en'] ;?></td>
            <td><a href="javascript: void(0);" onclick="loadPage('/admin/tour/view/tour_id/<?php echo $tour_entry['tour_id']; ?>');" title="Description"><img src="/images/admin/icons/list-2.gif" alt=""/></a></td>
            <td><a href="javascript: void(0);" onclick="loadPage('/admin/tour/edit/tour_id/<?php echo $tour_entry['tour_id']; ?>');" title="Edit"><img src="/images/admin/icons/edit.gif" alt=""/></a></td>
            <td><a rel="" onclick="deleteTour('<?php echo $tour_entry['tour_id']; ?>')" href="javascript: void(0);"><img src="/images/admin/icons/disable.gif" alt=""/></a></td>
        </tr>
        <?php endforeach; ?>
    </table>
</div>